package com.yuexun.dhdoctor.module.departmentDocumentNew.adapter;

import android.view.View;
import android.widget.AbsListView;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.yuexun.dhdoctor.R;
import com.yuexun.dhdoctor.module.departmentDocumentNew.bean.DocDepartBean;

import org.kymjs.kjframe.widget.AdapterHolder;
import org.kymjs.kjframe.widget.KJAdapter;

import java.util.Collection;

/**
 * Created by Administrator on 2018/11/29 0029.
 */

public class FilesAdapter  extends KJAdapter<DocDepartBean> {

    public FilesAdapter(AbsListView view, Collection<DocDepartBean> mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder helper, final DocDepartBean item, boolean isScrolling) {
        helper.setText(R.id.tv_doc_department_select_title,item.getDepartDocName());
    }
}
